/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bus;

import dao.DanhMucDAO;
import java.util.List;
import pojo.Danhmuc;

/**
 *
 * @author NhatTan
 */
public class DanhMucBUS {

    public static List<Danhmuc> layDanhSachDanhMuc() {
        return DanhMucDAO.layDanhSachDanhMuc();
    }

    public static boolean themDanhMuc(Danhmuc danhMuc) {
        return DanhMucDAO.themDanhMuc(danhMuc);
    }

    public static boolean capNhatDanhMuc(Danhmuc danhMuc) {
        return DanhMucDAO.capNhatDanhMuc(danhMuc);
    }

    public static boolean xoaDanhMuc(Danhmuc danhMuc) {
        return DanhMucDAO.xoaDanhMuc(danhMuc);
    }
}
